$def with (i)
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>snippr</title>
	<style type="text/css" media="screen">
	#head h1{
		text-align: right;
		border-bottom: 1px solid grey
	}
	pre{
		background-color:#eee;
		padding: 10px;
	}
	</style>
</head>
<body>
<div id="head">
<h1>snippr</h1>
</div>
$i[0].title
<pre>
$i[0].text
</pre>

<form method="post" action="">
<p>
<input type="hidden" name="id" value="$i[0].id">
<input type="hidden" name="title" value="$i[0].title"><br/>
<textarea rows="20" cols="100" name="text" />$i[0].text</textarea><br />
<input type="submit" value="Add" /></p>
</form>
<a href="/">Home</a>

</body>
</html>
